package com.cosmic.pizza.service;

import com.cosmic.pizza.pojo.Order;
import com.cosmic.pizza.pojo.OrderInfo;
import com.cosmic.pizza.pojo.PageBean;

import java.util.List;

public interface OrderService {
    PageBean<Order> findAllOrder(int uid,int currentPage);

    void CartOrder(Order order, List<OrderInfo> orderInfos);

    void checkOutOrder(String oid, Integer add_id);

    boolean PayOrder(String oid);

    boolean GetFlagOrder(String oid);

    List<Order> findNoneGetOrder(int uid);

    List<Order> findNonePayOrder(int uid);

    Order findOrderByOid(String oid);

    void eval(String oid, String fid, String size, String evalMes);

    boolean ifEval(String oid, String fid, String size);
}
